# Contributor: Pedro Filipe <xpecex@outlook.com>
# Contributor:
# Maintainer:
pkgname=vblade
pkgver=25
pkgrel=0
pkgdesc="Virtual AoE blade server"
options="!check" # No testsuite
url="https://github.com/OpenAoE/vblade"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="https://github.com/OpenAoE/vblade/archive/vblade-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgname-$pkgver

build() {
	make CFLAGS="$CFLAGS"
}

package() {
	mkdir -p "$pkgdir"/usr/sbin
	mkdir -p "$pkgdir"/usr/share/man/man8
	make sbindir="$pkgdir"/usr/sbin mandir="$pkgdir"/usr/share/man install
}

sha512sums="a70ee7e98a71bc2a649501c92e6c37fc0410837f5f68f9501e75b688743f0bbe2d1f93969b3a9fe068247cd49c209ba72f794dcbb68ee9d955c0f7fad774fd92  vblade-25.tar.gz"
